
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
        <!-- TemplateBeginEditable name="doctitle" -->
        <title><?php echo $this->edmSubject; ?></title>
        <!-- TemplateEndEditable -->
        <!-- TemplateBeginEditable name="head" -->
        <!-- TemplateEndEditable -->
        <style type="text/css">
            /* Based on The MailChimp Reset INLINE: Yes. */  
            /* Client-specific Styles */
            #outlook a {padding:0;} /* Force Outlook to provide a "view in browser" menu link. */
            body{width:100% !important; -webkit-text-size-adjust:100%; -ms-text-size-adjust:100%; margin:0; padding:0; background-color:#f3f3f3; font-family:Arial, Helvetica, sans-serif;} 
            /* Prevent Webkit and Windows Mobile platforms from changing default font sizes.*/ 
            .ExternalClass {width:100%;} /* Force Hotmail to display emails at full width */  
            .ExternalClass, .ExternalClass p, .ExternalClass span, .ExternalClass font, .ExternalClass td, .ExternalClass div {line-height: 100%;}
            /* Forces Hotmail to display normal line spacing.  More on that: http://www.emailonacid.com/forum/viewthread/43/ */ 
            #backgroundTable { border:0px solid red; margin:0; padding:0; width:100% !important; line-height: 100% !important;}
            /* End reset */

            /* Some sensible defaults for images Bring inline: Yes. */
            img {outline:none; text-decoration:none; -ms-interpolation-mode: bicubic;} 
            a img {border:none;} 
            .image_fix {display:block;}

            p {margin: 1em 0;}/* Yahoo paragraph fix Bring inline: Yes. */

            h1, h2, h3, h4, h5, h6 {color: black !important;}/* Hotmail header color reset Bring inline: Yes. */
            h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {color: blue !important;}

            h1 a:active, h2 a:active,  h3 a:active, h4 a:active, h5 a:active, h6 a:active { color: red !important; }/* Preferably not the same color as the normal header link color.  There is limited support for psuedo classes in email clients, this was added just for good measure. */

            h1 a:visited, h2 a:visited,  h3 a:visited, h4 a:visited, h5 a:visited, h6 a:visited { color: purple !important; }/* Preferably not the same color as the normal header link color. There is limited support for psuedo classes in email clients, this was added just for good measure. */

            table td {border-collapse: collapse;}/* Outlook 07, 10 Padding issue fix	Bring inline: No.*/
            table { border-collapse:collapse; mso-table-lspace:0pt; mso-table-rspace:0pt; }/* Remove spacing around Outlook 07, 10 tables Bring inline: Yes */

            /* Styling your links has become much simpler with the new Yahoo.  In fact, it falls in line with the main credo of styling in email and make sure to bring your styles inline.  Your link colors will be uniform across clients when brought inline. Bring inline: Yes. */
            a {color: orange;}

            /* custom */
            #mailHeader td, #mailFooter td { padding:10px; font-size:11px; color:#666666; }
            #mailHeader td a, #mailFooter td a { color:#666666;}
            #mailContent td { background-color:#FFF; padding:20px; }
            .link-text { background-color:#EEE; padding:10px;}
            #termsContent {border:1px dashed #999999; margin:20px 0;}
            #termsContent td { background-color:#F6F5F1; font-size:12px; color:#666;}
            #termsContent td ul { margin:0;}

            /***************************************************
            ****************************************************
            MOBILE TARGETING
            ****************************************************
            ***************************************************/
            @media only screen and (max-device-width: 480px) {
                /* Part one of controlling phone number linking for mobile. */
                a[href^="tel"], a[href^="sms"] {
                    text-decoration: none;
                    color: blue; /* or whatever your want */
                    pointer-events: none;
                    cursor: default;
                }

                .mobile_link a[href^="tel"], .mobile_link a[href^="sms"] {
                    text-decoration: default;
                    color: orange !important;
                    pointer-events: auto;
                    cursor: default;
                }

            }

            /* More Specific Targeting */

            @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
                /* You guessed it, ipad (tablets, smaller screens, etc) */
                /* repeating for the ipad */
                a[href^="tel"], a[href^="sms"] {
                    text-decoration: none;
                    color: blue; /* or whatever your want */
                    pointer-events: none;
                    cursor: default;
                }

                .mobile_link a[href^="tel"], .mobile_link a[href^="sms"] {
                    text-decoration: default;
                    color: orange !important;
                    pointer-events: auto;
                    cursor: default;
                }
            }

            @media only screen and (-webkit-min-device-pixel-ratio: 2) {
                /* Put your iPhone 4g styles in here */ 
            }

            /* Android targeting */
            @media only screen and (-webkit-device-pixel-ratio:.75){
                /* Put CSS for low density (ldpi) Android layouts in here */
            }
            @media only screen and (-webkit-device-pixel-ratio:1){
                /* Put CSS for medium density (mdpi) Android layouts in here */
            }
            @media only screen and (-webkit-device-pixel-ratio:1.5){
                /* Put CSS for high density (hdpi) Android layouts in here */
            }
            /* end Android targeting */

        </style>
        <!-- Targeting Windows Mobile -->
        <!--[if IEMobile 7]>
                <style type="text/css">
                
                </style>
                <![endif]-->
        <!-- ***********************************************
                ****************************************************
                END MOBILE TARGETING
                ****************************************************
                ************************************************ -->
        <!--[if gte mso 9]>
                        <style>
                        /* Target Outlook 2007 and 2010 */
                        </style>
                <![endif]-->
        <!-- TemplateParam name="unsubscription-link" type="boolean" value="true" -->
        <!-- TemplateParam name="view-online-version" type="boolean" value="true" -->
        <!-- TemplateParam name="auto-generated-statement" type="boolean" value="true" -->
        <!-- TemplateParam name="signature" type="boolean" value="true" -->
    </head>
    <body>
        <!-- Wrapper/Container Table: Use a wrapper table to control the width and the background color consistently of your email. Use this approach instead of setting attributes on the body tag. -->
        <table cellpadding="0" cellspacing="0" border="0" id="backgroundTable">
            <tr>
                <td valign="top"><br /><br />

                    <!-- 
                    Tables are the most common way to format your email consistently. Set your table widths inside cells and in most cases reset cellpadding, cellspacing, and border to zero. Use nested tables as a way to space effectively in your message. -->
                    <table id="mailHeader" cellpadding="0" cellspacing="0" border="0" width="600" align="center">
                        <tr>
                            <td width="300" valign="top">
                                <!-- TemplateBeginIf cond="_document['view-online-version']" -->
                                <a href="<?php echo $this->edmUrl; ?>">View online version</a>
                                <!-- TemplateEndIf -->
                            </td>
                            <td width="300" valign="top" align="right">
                                <a href="#"><img src="<?php echo $this->edmImagesPath; ?>/social/facebook.png" width="30" height="30" alt="facebook" /></a>
                                <a href="#"><img src="<?php echo $this->edmImagesPath; ?>/social/googleplus.png" width="30" height="31" alt="google plus" /></a>
                                <a href="#"><img src="<?php echo $this->edmImagesPath; ?>/social/twitter.png" width="30" height="31" alt="twitter" /></a>
                                <a href="#"><img src="<?php echo $this->edmImagesPath; ?>/social/feed.png" width="29" height="31" alt="news feed" /></a>
                            </td>
                        </tr>
                    </table>
                    <!-- End example table -->


                    <table id="mailContent" cellpadding="0" cellspacing="0" border="0" width="600" align="center">
                        <tr>
                            <td valign="top">
                                <!-- Gmail/Hotmail image display fix -->
                                <a href="<?php echo $this->domainNameUrl; ?>"><img class="image_fix" src="<?php echo $this->edmImagesPath; ?>/logo.png" alt="<?php echo $this->domainName; ?>" title="<?php echo $this->domainName; ?>" width="250" height="64" /></a><br /><br />
                                <!-- TemplateBeginEditable name="content" -->

                                <?php echo $content; ?>

                                <!-- TemplateEndEditable -->
                                <!-- TemplateBeginIf cond="signature" --><br /><br /><br />
                                <!-- TemplateBeginEditable name="EditRegion4" -->
                                Regards, <br/>
                                <!-- TemplateEndEditable -->
                                The <?php echo $this->domainName; ?> Team<br />
                                <a href="#" target ="_blank" title="Styling Links" style="color: blue; text-decoration: none;"><?php echo $this->domainName; ?></a>
                                <!-- TemplateEndIf -->



                                <!-- TemplateBeginIf cond="_document['auto-generated-statement']" -->
                                <br /><br /><br /><strong>* Please do not reply to this email. This is an auto-generated email.</strong>
                                <!-- TemplateEndIf --> 

                            </td>
                        </tr>
                    </table>
                    <table id="mailFooter" cellpadding="0" cellspacing="0" border="0" width="600" align="center">
                        <tr>
                            <td valign="top">
                                <p><a href="#">Contact Us</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;<a href="#">Terms of Use</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;<a href="#">Privacy Policy</a></p>
                                <p>If there is anything unclear, please contact <a href="mailto:" target ="_blank" title="Styling Links" style="color: blue;">[email@domainname.com]</a></p>
                                <p>&copy; 2014 Web Discovery Solutions.</p>

                                <!-- TemplateBeginIf cond="_document['unsubscription-link']" -->
                                <p>To unsubscribe, <a href="<?php echo $this->edmUnsubscribeUrl; ?>" target ="_blank" title="Styling Links" style="color: blue;">click here</a>.</p>
                                <!-- TemplateEndIf -->

                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>  
        <!-- End of wrapper table -->
    </body>
</html>